﻿namespace GoodAdmin.System;

public class RoleSeedData : ISqlSugarEntitySeedData<SysRole>
{
    public IEnumerable<SysRole> HasData()
    {
        return new[]
        {
            new SysRole{ Id= 100000000000001,RoleName="超级管理员",Code=RoleConst.SUPERADMIN,Remark="超级管理员", Status=CommonConst.STATUS_ENABLE, DataScope=RoleConst.DATA_SCOPE_ALL, SystemMark=CommonConst.SYSTEM},
            new SysRole{ Id= 100000000000002,RoleName="公共权限",Code=RoleConst.ROLE_COMMON,Remark="所有人的基础权限",Status=CommonConst.STATUS_ENABLE, DataScope=RoleConst.DATA_SCOPE_SELF, SystemMark=CommonConst.SYSTEM},
        };
          
    }
}